import request from '@/utils/request.js'

// 栏目列表
export const getCategoryAPI = params => request( {
	url: '/category',
	params
} )

// 添加栏目
export const addCategoryAPI = data => request( {
	method: 'post',
	url: '/category',
	data
} )
